package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.UserPersonalizedRecommendations;
import com.example.mall.dto.UserPersonalizedRecommendationsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.UserPersonalizedRecommendationsQuery;

import java.util.List;


/**
 * <p>
 * 用户个性化推荐表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-06
 */
public interface IUserPersonalizedRecommendationsService extends IService<UserPersonalizedRecommendations> {

    // 分页查询用户个性化推荐表信息
    PageDTO<UserPersonalizedRecommendationsDto> queryPage(UserPersonalizedRecommendationsQuery userPersonalizedRecommendationsQuery);

    // 新增用户个性化推荐表
    void insert(UserPersonalizedRecommendationsDto userPersonalizedRecommendationsDto);
    // 修改用户个性化推荐表信息
    void update(UserPersonalizedRecommendationsDto userPersonalizedRecommendationsDto);
    // 删除用户个性化推荐表信息
    void delete(Long recommendId);
    // 批量删除用户个性化推荐表信息
    void deleteBatch(List<Long> recommendIds);
    // 查询全部用户个性化推荐表信息
    List<UserPersonalizedRecommendations> queryUserPersonalizedRecommendationsList();
    // 根据id查询用户个性化推荐表信息
    UserPersonalizedRecommendations queryUserPersonalizedRecommendationsById(Long recommendId);
}
